﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000307 RID: 775
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class ClockParkFinishScriptScNotify : IMessage<ClockParkFinishScriptScNotify>, IMessage, IEquatable<ClockParkFinishScriptScNotify>, IDeepCloneable<ClockParkFinishScriptScNotify>, IBufferMessage
	{
		// Token: 0x170009FD RID: 2557
		// (get) Token: 0x06002295 RID: 8853 RVA: 0x0006182D File Offset: 0x0005FA2D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<ClockParkFinishScriptScNotify> Parser
		{
			get
			{
				return ClockParkFinishScriptScNotify._parser;
			}
		}

		// Token: 0x170009FE RID: 2558
		// (get) Token: 0x06002296 RID: 8854 RVA: 0x00061834 File Offset: 0x0005FA34
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return ClockParkFinishScriptScNotifyReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x170009FF RID: 2559
		// (get) Token: 0x06002297 RID: 8855 RVA: 0x00061846 File Offset: 0x0005FA46
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return ClockParkFinishScriptScNotify.Descriptor;
			}
		}

		// Token: 0x06002298 RID: 8856 RVA: 0x0006184D File Offset: 0x0005FA4D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ClockParkFinishScriptScNotify()
		{
		}

		// Token: 0x06002299 RID: 8857 RVA: 0x00061855 File Offset: 0x0005FA55
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ClockParkFinishScriptScNotify(ClockParkFinishScriptScNotify other) : this()
		{
			this.rogueFinishInfo_ = ((other.rogueFinishInfo_ != null) ? other.rogueFinishInfo_.Clone() : null);
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600229A RID: 8858 RVA: 0x0006188A File Offset: 0x0005FA8A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ClockParkFinishScriptScNotify Clone()
		{
			return new ClockParkFinishScriptScNotify(this);
		}

		// Token: 0x17000A00 RID: 2560
		// (get) Token: 0x0600229B RID: 8859 RVA: 0x00061892 File Offset: 0x0005FA92
		// (set) Token: 0x0600229C RID: 8860 RVA: 0x0006189A File Offset: 0x0005FA9A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public BODJDMCEIHO RogueFinishInfo
		{
			get
			{
				return this.rogueFinishInfo_;
			}
			set
			{
				this.rogueFinishInfo_ = value;
			}
		}

		// Token: 0x0600229D RID: 8861 RVA: 0x000618A3 File Offset: 0x0005FAA3
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as ClockParkFinishScriptScNotify);
		}

		// Token: 0x0600229E RID: 8862 RVA: 0x000618B1 File Offset: 0x0005FAB1
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(ClockParkFinishScriptScNotify other)
		{
			return other != null && (other == this || (object.Equals(this.RogueFinishInfo, other.RogueFinishInfo) && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600229F RID: 8863 RVA: 0x000618E4 File Offset: 0x0005FAE4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.rogueFinishInfo_ != null)
			{
				num ^= this.RogueFinishInfo.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x060022A0 RID: 8864 RVA: 0x00061920 File Offset: 0x0005FB20
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x060022A1 RID: 8865 RVA: 0x00061928 File Offset: 0x0005FB28
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x060022A2 RID: 8866 RVA: 0x00061931 File Offset: 0x0005FB31
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.rogueFinishInfo_ != null)
			{
				output.WriteRawTag(10);
				output.WriteMessage(this.RogueFinishInfo);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x060022A3 RID: 8867 RVA: 0x00061964 File Offset: 0x0005FB64
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.rogueFinishInfo_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.RogueFinishInfo);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x060022A4 RID: 8868 RVA: 0x000619A4 File Offset: 0x0005FBA4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(ClockParkFinishScriptScNotify other)
		{
			if (other == null)
			{
				return;
			}
			if (other.rogueFinishInfo_ != null)
			{
				if (this.rogueFinishInfo_ == null)
				{
					this.RogueFinishInfo = new BODJDMCEIHO();
				}
				this.RogueFinishInfo.MergeFrom(other.RogueFinishInfo);
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x060022A5 RID: 8869 RVA: 0x000619F8 File Offset: 0x0005FBF8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x060022A6 RID: 8870 RVA: 0x00061A04 File Offset: 0x0005FC04
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 10U)
				{
					this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
				}
				else
				{
					if (this.rogueFinishInfo_ == null)
					{
						this.RogueFinishInfo = new BODJDMCEIHO();
					}
					input.ReadMessage(this.RogueFinishInfo);
				}
			}
		}

		// Token: 0x04000E12 RID: 3602
		private static readonly MessageParser<ClockParkFinishScriptScNotify> _parser = new MessageParser<ClockParkFinishScriptScNotify>(() => new ClockParkFinishScriptScNotify());

		// Token: 0x04000E13 RID: 3603
		private UnknownFieldSet _unknownFields;

		// Token: 0x04000E14 RID: 3604
		public const int RogueFinishInfoFieldNumber = 1;

		// Token: 0x04000E15 RID: 3605
		private BODJDMCEIHO rogueFinishInfo_;
	}
}
